package pnu.structural.proxypattern;

public class RealImage implements Image {
	private String fileName;
	
	public RealImage(String fileName) {
		this.fileName = fileName;
		loadFromDiks(fileName);
	}
	
	@Override
	public void display() {
		System.out.println("Diplaying "+fileName);
	}
	
	public void loadFromDiks(String fileName){
		System.out.println("Loading "+fileName);
	}
}
